const Usecase = require('../../shared/usecase/Usecase')

class GetSystemDetail extends Usecase {
  constructor({ systemRepo }) {
    super()
    this.systemRepo = systemRepo
  }
  async execute(id) {
    const data = await this.systemRepo.findById(id)
    return data
  }
}

module.exports = GetSystemDetail
